/**
 * render column overwrite querylist4ext.js
 * 
 * @param {}
 *            value
 * @param {}
 *            cellmeta
 * @param {}
 *            record
 * @param {}
 *            rowIndex
 * @param {}
 *            columnIndex
 * @param {}
 *            store
 * @return {}
 */
function renderHeader(value, cellmeta, record, rowIndex, columnIndex, store) {
	var fieldName = Ext.getCmp(querykey).getColumnModel()
			.getDataIndex(columnIndex);
	if (fieldName == 'OPEN') {
		var resultString = String
				.format(
						'<b><a href="'
								+ context
								+ '/app/qtfbl.do?method=edithdl&id={0}&querykey=' + querykey + '">填写处理意见</a></b>',
						record.data.ID, value);

		return resultString;
	}else if (fieldName == 'XFTIME' || fieldName == 'XJTIME') {
		return formatDate(value);
	}else if (fieldName == 'LFTYPE') {
		if (value == '0') {
			return '街乡';
		} else if (value == '1') {
			return '区';
		}
	}
	return value;
}